Enables LLDP (Link Layer Discovery Protocol) transmit mode, receive mode, or transmit and receive mode. If the transmit-only or receive-only option is not specified, both transmit and receive modes are enabled.
all | Specifies all ports on the switch. |
port_list | Specifies one or more ports or slots and ports. |
receive-only | Specifies that the port only receives LLDP messages. |
transmit-only | Specifies that the port only transmits LLDP messages. |
Enabled.
If you do not specify an option, the port is enabled to both transmit and receive LLDP messages.
Once the port is enabled for LLDP in one mode and you issue another enable lldp ports command for another mode, that second mode replaces the original mode. For example, you might originally enable several ports to only receive LLDP messages and then want those ports to both receive and transmit LLDP messages. In that case, you issue the enable lldp ports command with no variables (and the receive-and-transmit mode replaces the receive-only mode).
To verify the port setting for LLDP, use the show lldp {port [all |port_list]} {detailed} command.
The following example enables LLDP transmit and receive mode on port 1:4.
enable lldp port 1:4
This command was first available in ExtremeXOS 11.2.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.